import  home from "./home";
import  collection from "./collection";
import  search from "./search";
import  benchmark from "./benchmark";
import  download from "./download";
import  about from "./about";
const apiObj = {
  ...home,
  ...collection,
  ...search,
  ...benchmark,
  ...download,
  ...about
};

const install = function(Vue) {
  if (install.installed) return;
  Object.defineProperties(Vue.prototype, {
    $api: {
      get() {
        return apiObj;
      },
    },
  });
};
export default {
  install,
};
